<?php
function ListBookingTour()
{
    global $dbsql,$language;
    
    $sql_where  = "from tblbooking where cLanguage='$language'";
    
    $sql_select = "select count(iId) as count ".$sql_where;
    $result     = $dbsql->query_fetch($sql_select);
    $count_all  = $result['count'];
	list($lf,$la)=Slit_Page($count_all);
    
    $sql_select = "select * ".$sql_where." order by iId desc limit $lf,$la";
    return $dbsql->load($sql_select);
    
}
?>